package ooday03;

public class Fish extends Animal1 implements Swim{

    Fish(String name,int age,String color){
        super(name,age,color);
    }

    @Override
    public void swim() {
        System.out.println(color+"的"+name+"正在游泳...");
    }

    void eat(){
        System.out.println(color+"的"+name+"正在吃鱼食，今年"+age+"岁了");

    }

}
